import request from '@/utils/request'

export function getHouseList(data){
    return request({
        url:'/houselist',
        method:'get',
        params:data
    });
}

export function editHouse(data){
    return request({
       url:'/edithouse',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getHouseInfo(data){
    return request({
       url:'/houseinfo',
       method:'get',
       params:data
    });
}

export function delHouse(data){
   return request({
      url:'/delhouse',
      method:'get',
      params:data
   });
}

export function getAllHouseList(data){
   return request({
      url:'/allhouselist',
      method:'get',
      params:data
   });
}
